const tabBarReducer = (prevstate=true,action)=>{

		// console.log(prevstate,action);
		let {type,payload} = action;
		switch(type){
				case "hideTabBar":
						return payload;
				case "showTabBar":
						return payload;
				default:
						return prevstate
		}

};

export default tabBarReducer;
